import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { nowSize } from '@/utils'
// 按需引入Element-ui
import './plugins/element.js'
// 百度Echarts团队
import './plugins/vue-charts'
// 引入v-charts饿了么团队echarts 这个报错
// import './plugins/v-charts'
import * as echarts from 'echarts'

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
Vue.prototype.$nowSize = nowSize
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
